<?php
/**
 *
 * Contact Block (For adresse, phone, email...
 * @author Xavier VILAIN
 */
use Fox\Html\Input;
use Fox\Html\DropList;
$block = new Fox\Html\Block("BHCO","Information de contact");
$block->add(new Input("adress",false));
$block->add(new Input("city",false));
$block->add(new Input("postal_code",false),2,2);
$block->add(new DropList("country",true),3,2);
$block->add(new Input(array("phone","phone1"),2));
$block->item("phone1")->label(Msg(Hive::BUNDLE,Hive::PHONE_NB,1));
$block->add(new Input(array("phone","phone2"),2));
$block->item("phone2")->label(Msg(Hive::BUNDLE,Hive::PHONE_NB,2));
$block->add(new Input(array("phone","phone3"),2));
$block->item("phone3")->label(Msg(Hive::BUNDLE,Hive::PHONE_NB,3));
$block->collapsed(false);
return $block;